package Vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogProducMasUsados extends javax.swing.JDialog {
	private JPanel jPanelProductosMasUsados;
	private JTable jTableProductosMasUsados;
	private JButton jButtonSalir;
	private JScrollPane jScrollProductosMasUsados;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrame frame = new JFrame();
				NewJDialogProducMasUsados inst = new NewJDialogProducMasUsados(frame);
				inst.setVisible(true);
			}
		});
	}
	
	public NewJDialogProducMasUsados(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				{
					jPanelProductosMasUsados = new JPanel();
					getContentPane().add(jPanelProductosMasUsados);
					jPanelProductosMasUsados.setBounds(21, 21, 530, 233);
					jPanelProductosMasUsados.setLayout(null);
					jPanelProductosMasUsados.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					jPanelProductosMasUsados.setBackground(new java.awt.Color(237,206,69));
					{
						jScrollProductosMasUsados = new JScrollPane();
						jPanelProductosMasUsados.add(jScrollProductosMasUsados);
						jScrollProductosMasUsados.setBounds(24, 19, 493, 176);
						{
							TableModel jTableProductosMasUsadosModel = 
								new DefaultTableModel(
										new String[][] { { "One", "Two" }, { "Three", "Four" } },
										new String[] { "Column 1", "Column 2" });
							jTableProductosMasUsados = new JTable();
							jScrollProductosMasUsados.setViewportView(jTableProductosMasUsados);
							jTableProductosMasUsados.setModel(jTableProductosMasUsadosModel);
							jTableProductosMasUsados.setFont(new java.awt.Font("Comic Sans MS",3,14));
						}
					}
					{
						jButtonSalir = new JButton();
						jPanelProductosMasUsados.add(jButtonSalir);
						jButtonSalir.setText("Salir");
						jButtonSalir.setBounds(392, 201, 120, 22);
						jButtonSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
			}
			this.setSize(575, 300);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
